package com.appistry.management.domain.impl;

import java.net.InetAddress;

import com.appistry.management.WorkerInfo;

public class WorkerInfoImpl implements WorkerInfo {
	private String macAddress;
	private String state;
	private String operatingSystem;
	private int cpuCount;
	private int regionPort;
	private boolean isRegionLeader;
	private boolean isRequestServiceUp;
	private boolean isRequestSslServiceUp;
	private InetAddress internalIp;
	private InetAddress externalIp;

	public String getMacAddress() {
		return macAddress;
	}

	public void setMacAddress(String macAddress) {
		this.macAddress = macAddress;
	}

	public String getState() {
		return state;
	}

	public void setState(String state) {
		this.state = state;
	}

	public String getOperatingSystem() {
		return operatingSystem;
	}

	public void setOperatingSystem(String operatingSystem) {
		this.operatingSystem = operatingSystem;
	}

	public int getCpuCount() {
		return cpuCount;
	}

	public void setCpuCount(int cpuCount) {
		this.cpuCount = cpuCount;
	}

	public int getRegionPort() {
		return regionPort;
	}

	public void setRegionPort(int regionPort) {
		this.regionPort = regionPort;
	}

	public boolean isRegionLeader() {
		return isRegionLeader;
	}

	public void setRegionLeader(boolean isRegionLeader) {
		this.isRegionLeader = isRegionLeader;
	}

	public boolean isRequestServiceUp() {
		return isRequestServiceUp;
	}

	public void setRequestServiceUp(boolean isRequestServiceUp) {
		this.isRequestServiceUp = isRequestServiceUp;
	}

	public boolean isRequestSslServiceUp() {
		return isRequestSslServiceUp;
	}

	public void setRequestSslServiceUp(boolean isRequestSslServiceUp) {
		this.isRequestSslServiceUp = isRequestSslServiceUp;
	}

	public InetAddress getInternalIp() {
		return internalIp;
	}

	public void setInternalIp(InetAddress internalIp) {
		this.internalIp = internalIp;
	}

	public InetAddress getExternalIp() {
		return externalIp;
	}

	public void setExternalIp(InetAddress externalIp) {
		this.externalIp = externalIp;
	}

}
